<?php
if(!defined("ADMREAD")) exit();
global $sess,$lang,$CHECK_ADMIN,$ADMIN_ID;
$block = array();
if(in_array('lang',$ADMIN_PERM_ARRAY) || in_array($ADMIN_ID,$CHECK_ADMIN['admid'])){
    $block['id'] = 'lang';
    $block['title'] = $lang['menu_lang'];
    $block['link'] = array('lang.php?dn=list&ops='.$sess['hash'] => $lang['all_set'],
    'javascript:$.langbrowser(\''.$sess['hash'].'\')' => $lang['lang_brow'],
    'lang.php?dn=langadd&ops='.$sess['hash'] => $lang['lang_add']);
}
?>